SIMISA@@@@@@@@@@JINX0x1t______

Tr_SMS (
	ScalabiltyGroup( 5
		Activation (
       			CabCam    ()
			PassengerCam	()
			Distance    	(100)
		)
		Stereo ( 1 )
		Volume(0.8)
		Streams ( 20

			Stream (
				Priority ( 6 )
             		Volume (0.65)
				Triggers ( 2
							Skip( **** Ход **** )
					Variable_Trigger ( Variable2_Dec_Past 0.01	ReleaseLoopRelease ()	)
					Variable_Trigger ( Variable2_Inc_Past 0.01	StartLoop ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_ted.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		210000
						-1.0			1200
						0.000		0
						1.0			1200
						100.0		210000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 9
						 -100.00	   0.7
						 -20.00		0.55
						 -6.00		0.45
						 -2.75  	0.3
						 0.00		0.0
						 2.75   	0.3
						 6.00		0.45
						20.00		0.55
						100.00	  	   0.7
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (0.65)
				Triggers ( 2
						Skip( **** Тормоз **** )
					Variable_Trigger ( Variable3_Dec_Past 0.01	ReleaseLoopRelease ()	)
					Variable_Trigger ( Variable3_Inc_Past 0.01	StartLoop ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_ted.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		210000
						-1.0			1200
						0.000		0
						1.0			1200
						100.0		210000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 9
						 -100.00	   0.7
						 -20.00		0.55
						 -6.00		0.45
						 -2.75  	0.3
						 0.00		0.0
						 2.75   	0.3
						 6.00		0.45
						20.00		0.55
						100.00	  	   0.7
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (				Skip ( **** Стук колёс **** )
				Priority ( 6 )
             		Volume (1.25)
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  9	StartLoop ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_Run2.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Inc_Past 25.0	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Dec_Past 25.0	StartLoop ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_Run2.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  9	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-24.000	19025
						4.000		4000
						24.000	19025
					)
					Granularity ( 100 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
					       -24.5      	1.1  
					       -15.0		1.0
					       -9.0	      	0.0  
                                     0.000		0.0
					       9.0		0.0
					       15.0	      	1.0  
					       24.5	      	1.1  
					)
					Granularity ( 0.05 )
				)				
			)

			Stream (				Skip ( **** Стук колёс **** )
				Priority ( 6 )
             		Volume ( 0.65 )
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past  0.5	StartLoop ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_Run1.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Inc_Past 14.0	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Dec_Past 14.0	StartLoop ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_Run1.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past  0.5	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-50.000	30025
						-15.000	20025
						0.000		7000
						15.000	20025
						50.000	30025
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 9
					       -17.0		0.0
					       -11.0       	0.9  
					       -6.0 		1.0
					       -1.2	      	0.0
                                     0.000		0.0
					       1.2		0.0
					       6.0	      	1.0  
					       11.0	      	0.9  
					       17.0		0.0
					)
					Granularity ( 0.05 )
				)				
			)



			Stream (		skip(***** Сигнализация привышения скорости (80 км/ч) *****)
				Priority ( 6 ) 
				Triggers ( 4
					Variable_Trigger ( Speed_Inc_Past 22.22 PlayOneShot ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_ARSst.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Inc_Past 22.22	StartLoop ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_ARSsig.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past 22.21	PlayOneShot ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_ARSend.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Variable_Trigger ( Speed_Dec_Past 22.21	ReleaseLoopRelease ()	)
				)
			)


			Stream (					Skip( **** Тайфун **** )
				Priority ( 6 )
				Volume ( 0.25 ) 
				Triggers ( 4
					Discrete_Trigger ( 8	PlayOneShot ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_horn-start.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 8	StartLoop ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	PlayOneShot ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_horn-stop.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.0		25100
						0.000		25100
						100.0		25100
					)
					Granularity ( 10 )
				)
			)


			Stream (         Skip (****** Разбор с тормаза на стоянке ******)
				Priority ( 6 )
             		Volume (0.65)
				Triggers ( 1
					Variable_Trigger ( variable3_Dec_Past 0.01  PlayOneShot   ( 1 File ( "../../msts_81717-Alias/SOUND/msts_81717_razbor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.0		22000
						0.000		22000
						100.0		22000
					)
				Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
						 -2.20		0.0
						 -2.19		0.0
						 -0.01		0.0
						 0.00		1.0
						 0.01		0.0
						 2.19		0.0						 
						 2.20		0.0						 
					)
					Granularity ( 0.01 )
				)
			)

			Stream (	Skip (****** Отключение Вентилей Замещения при окончательном торможении ******)
				Priority ( 6 )
             		Volume (0.5)
				Triggers ( 3
					Variable_Trigger ( variable3_Dec_Past 0.01  PlayOneShot   ( 1 File ( "../../msts_81717-Alias/SOUND/msts_81717_VZtorm.wav" -1 ) SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Variable3_Inc_Past 0.01	SetStreamVolume (0)	)
					Variable_Trigger ( Variable3_Dec_Past 0.01	SetStreamVolume (0.5)	)
				)

				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
						 -1.96		0.0
						 -1.95		1.0
						 -0.01		1.0
						 0.00		0.0
						 0.01		1.0
						 1.95		1.0						 
						 1.96		0.0
					)
					Granularity ( 0.01 )
				)
			)

			Stream (	Skip (****** Отключение Линейных контакторов (с тормаза) ******)
				Priority ( 6 )
             		Volume (0.8)
				Triggers ( 3
					Variable_Trigger ( variable3_Dec_Past 0.49  PlayOneShot   ( 3
							File ( "../../msts_81717-Alias/SOUND/000.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/000.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_LK.wav" -1 )
							 SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Variable3_Inc_Past 0.01	SetStreamVolume (0)	)
					Variable_Trigger ( Variable3_Dec_Past 0.01	SetStreamVolume (0.8)	)
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5

						 -4.00		1.0
						 -1.99		0.0
						 0.00		0.0
						 1.99		0.0
						 4.00		1.0

					)
					Granularity ( 0.01 )
				)
			)
			Stream (	Skip (****** Отключение Линейных контакторов (с хода) ******)
				Priority ( 6 )
             		Volume (0.8)
				Triggers ( 3
					Variable_Trigger ( variable2_Dec_Past 0.25  PlayOneShot   ( 2
							File ( "../../msts_81717-Alias/SOUND/000.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_LK.wav" -1 )
							 SelectionMethod ( RandomSelection ) ) )
					Variable_Trigger ( Variable2_Inc_Past 0.01	SetStreamVolume (0)	)
					Variable_Trigger ( Variable2_Dec_Past 0.01	SetStreamVolume (0.8)	)
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5

						 -5.00		0.0
						 -4.99		1.0
						 0.00		1.0
						 4.99		1.0
						 5.00		0.0

					)
					Granularity ( 0.01 )
				)
			)
			Stream (	Skip(***** Время от времени организует разборку схемы с Хода при отправлении *****)
				Priority ( 6 )
             		Volume (0.5)
				Triggers ( 3
					Variable_Trigger ( Variable3_Inc_Past 0.01	SetStreamVolume (0)	)
					Variable_Trigger ( Variable3_Dec_Past 0.01	SetStreamVolume (0.5)	)
					Variable_Trigger ( Speed_Inc_Past 0.001  PlayOneShot   ( 16 
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZ-LK.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZ-LK2.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_VZotp.wav" -1 )
							SelectionMethod ( RandomSelection ) ) )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.00		1.0
						 0.0001		1.0
					)
					Granularity ( 0.01 )
				)				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.0		22000
						0.000		22000
						100.0		22000
					)
				Granularity ( 10 )
				)
			)




			Stream (		skip(***** Звук звонка (заменён на "Конечная") *****)
				Priority ( 6 ) 
 	            		Volume (0.6)
				Triggers ( 1
					Discrete_Trigger ( 10	PlayOneShot ( 1
									File ( "../../msts_81717-Alias/SOUND/msts_81717_PNM_kon.wav" -1 )
												SelectionMethod ( SequentialSelection )	) )
					)

			)



			Stream (
				Skip ( **** Информатор КРЛ (ВДНХ-ОКТЯБРЬСКАЯ)  	**** )
				Priority ( 6 )
				Volume (0.3)
				Triggers ( 4

					Discrete_Trigger (  6 PlayOneShot ( 1
							File ( "../../msts_81717-Alias/SOUND/Inf/msts_81717_klik.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  6
						PlayOneShot ( 16
							File ( "../../msts_81717-Alias/SOUND/Inf/02_09.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_11.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_13.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_15.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_17.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_19.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_21.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_23.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_23.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_25.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_27.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_29.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_31.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_33.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_35.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_37.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)

					Discrete_Trigger (  7 PlayOneShot ( 1
							File ( "../../msts_81717-Alias/SOUND/Inf/msts_81717_klik.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  7
						PlayOneShot ( 16
							File ( "../../msts_81717-Alias/SOUND/Inf/02_10.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_12.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_14.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_16.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_18.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_20.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_22.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/02_24.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_24.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_26.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_28.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_30.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_32.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_34.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_36.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Inf/01_38.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
				)
			)
			Stream (				Skip ( **** Двери **** )
				Priority ( 6 )
 	            		Volume (0.7)
				Triggers ( 2
					Discrete_Trigger (  46
						PlayOneShot ( 1	
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorop.wav" -1 )		
							SelectionMethod ( SequentialSelection )
						) 
					)
				skip(****** Время от времени симулирует НЕ закрытие дверей ******)
					Discrete_Trigger (  45
						PlayOneShot ( 16	
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl1_lc.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl2_c.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl1.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl1_c.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl1_c.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl2.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl1_c.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl2_c.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl2_c.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl1_lc.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl2_lc.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl2_lc.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl1.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl2.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl1_c.wav" -1 )	
							File ( "../../msts_81717-Alias/SOUND/msts_81717_doorcl2_c.wav" -1 )	
							SelectionMethod ( RandomSelection )
						) 
					)
				)
			)



			Stream (		          Skip( **** КВ, реверс **** )
				Priority ( 6 )
				Volume (0.8)
				Triggers ( 3
					Discrete_Trigger (  16
						PlayOneShot ( 2	
							File ( "../../msts_81717-Alias/SOUND/msts_81717_kv1.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_kv.wav" -1 )	
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  20
						PlayOneShot ( 2
							File ( "../../msts_81717-Alias/SOUND/msts_81717_kv2.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/msts_81717_kv3.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  15
						PlayOneShot ( 1
							File ( "../../msts_81717-Alias/SOUND/msts_81717_revers.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)

				)
			)
      
			Stream (
				Priority ( 6 )                   Skip( **** Компрессор **** )
             		Volume (1)
				Triggers ( 2
					Variable_Trigger ( speed_Dec_Past 0.01
							PlayOneShot ( 3
									File ( "../../msts_81717-Alias/SOUND/msts_81717_komp.wav" -1 )
									File ( "../../msts_81717-Alias/SOUND/000.wav" -1 )
									File ( "../../msts_81717-Alias/SOUND/000.wav" -1 )
							SelectionMethod ( RandomSelection )	)	)
					Variable_Trigger ( speed_Inc_Past 10.00
							PlayOneShot ( 6
									File ( "../../msts_81717-Alias/SOUND/msts_81717_komp.wav" -1 )
									File ( "../../msts_81717-Alias/SOUND/000.wav" -1 )
									File ( "../../msts_81717-Alias/SOUND/000.wav" -1 )
									File ( "../../msts_81717-Alias/SOUND/000.wav" -1 )
									File ( "../../msts_81717-Alias/SOUND/000.wav" -1 )
									File ( "../../msts_81717-Alias/SOUND/000.wav" -1 )
							SelectionMethod ( RandomSelection )	)	)
				)
				
			)


			Stream (				 Skip( **** Радио **** )
				Priority ( 6 )
				Volume ( 0.7 )
				Triggers ( 1
					Random_Trigger (
						Delay_Min_Max (120 180)
						Volume_Min_Max ( 0.7 0.8 )
						PlayOneShot ( 16
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio01.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio02.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio03.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio04.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio05.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio06.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio07.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio08.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio09.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio10.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio11.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio12.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio13.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio14.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio15.wav" -1 )
							File ( "../../msts_81717-Alias/SOUND/Radio-2/td_radio16.wav" -1 )			
							SelectionMethod ( RandomSelection )
						)
					)
				)
			)

			Stream (					Skip( **** Отмена АРС, БПСН **** )
				Priority ( 6 )
				Volume ( 0.5 )
				Triggers ( 4
					Discrete_Trigger  ( 4
							PlayOneShot   ( 1 
							            File ( "../../msts_81717-Alias/SOUND/msts_81717_VZ2.wav" -1 )
							            SelectionMethod ( SequentialSelection )
							             )
							)
					Discrete_Trigger  ( 5
							PlayOneShot   ( 1 
							            File ( "../../msts_81717-Alias/SOUND/msts_81717_VZ2.wav" -1 )
							            SelectionMethod ( SequentialSelection )
							             )
							)
					Discrete_Trigger  ( 4
							StartLoopRelease   ( 1 
							            File ( "../../msts_81717-Alias/SOUND_2/msts_81717_BPSN_2.wav" -1 )
							            SelectionMethod ( SequentialSelection )
							             )
							)
					Discrete_Trigger  ( 5
							ReleaseLoopRelease   ( 1 
							            File ( "../../msts_81717-Alias/SOUND_2/msts_81717_BPSN_2.wav" -1 )
							            SelectionMethod ( SequentialSelection )
							             )
							)
					)
			)

			Stream (
				Skip ( **** Зарядка ТМ, Выпуск **** )
				Volume ( 0.2 )
				Priority ( 6 )
				Triggers ( 1				
					Discrete_Trigger (  54	
						PlayOneShot ( 1
							File ( "../../msts_81717-Alias/SOUND/msts_81717_kmotp.wav" -1 )
							SelectionMethod ( SequentialSelection ) 
						) 
					)
				)
			)

			Stream (
				Skip ( **** Разрядка ТМ **** )			
				Priority ( 6 )			
				Triggers ( 6				
					Discrete_Trigger (  14	PlayOneShot ( 1	File ( "../../msts_81717-Alias/SOUND/msts_81717_km.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				
			)	                
	
		)
	)
	ScalabiltyGroup( 3
		Activation (	ExternalCam ()			PassengerCam	()		CabCam			()			Distance    	(100)		)
		Stereo ( 1 )
		Volume(0.5)
		Streams ( 16
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Skip( **** The engine/current related sounds **** )
					Variable_Trigger ( Speed_Dec_Past 0.1	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Inc_Past 0.1	StartLoop ( 1	File ( "8171run_.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		210000
						-1.0			1200
						0.000		0
						1.0			1200
						100.0		210000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
						 -100.00		0.7
						 -20.00	0.7
						 -6.00	0.3
						 0.00		0.0
						 6.00		0.3
						20.00		0.7
						100.00	0.7
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable2_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171Rozb2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-60.0		240000
						-1.0			1200
						0.000		0
						1.0			1200
						60.0		240000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 10.00		0.0
						 12.00		0.7
						 19.00	1.3
						 20.00		0.0
						 100.00	0.0
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable2_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171RozbHi.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		220000
						-1.0			1200
						0.000		0
						1.0			1200
						100.0		220000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 6
						 0.00		0.0
						 10.00	0.0
						 16.00		0.7
						 19.50	0.7
						 20.00	1.0
						 100.00	1.5
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable2_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171RozbLo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-10.0		70000
						-4.5			35000
						0.000		3000
						4.5			35000
						10.0		70000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 8
						 0.00		0.0
						 1.90		0.1
						 2.35		0.2
						 2.50		0.4
						 2.60		0.2
						 8.00		0.08
						 9.00		0.03
						 10.00		0.0
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 4
					Variable_Trigger ( Variable2_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171dBrakeMiLo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01  ReleaseLoopRelease  () )					
					Variable_Trigger ( Variable3_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171dBrakeMiLo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		420000
						-1.0			6000
						0.000		500
						1.0			6000
						100.0		420000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 4
						3.00		0.0
						3.50		0.8
						 11.00		1.0
						 13.00		0.0
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable3_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171RozbLo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-10.0		70000
						-4.5			35000
						0.000		3000
						4.5			35000
						10.0		70000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 8
						 0.00		0.0
						 1.90		0.1
						 2.35		0.2
						 2.50		0.4
						 2.60		0.2
						 8.00		0.08
						 9.00		0.03
						 10.00		0.0
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable3_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171dBrakeMi.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		210000
						-1.0			1200
						0.000		0
						1.0			1200
						100.0		210000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 10.00		0.0
						 12.00		0.7
						 19.00	1.3
						 20.00		0.0
						 100.00	0.0
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable3_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171dBrakeHi.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		210000
						-1.0			1200
						0.000		0
						1.0			1200
						100.0		210000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 6
						 0.00		0.0
						 18.00	0.0
						 20.00		0.7
						 21.50	0.7
						 22.00	1.0
						 100.00	1.5
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume ( 2.0 ) 
				Triggers ( 4
					Discrete_Trigger ( 8	PlayOneShot ( 1	File ( "horn-start.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 8	StartLoop ( 1	File ( "horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	PlayOneShot ( 1	File ( "horn-stop.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.0		25100
						0.000		25100
						100.0		25100
					)
					Granularity ( 10 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 3
					Discrete_Trigger  ( 4
							StartLoopRelease   ( 1 
							            File ( "MeniceFinal.wav" -1 )
							            SelectionMethod ( SequentialSelection )
							             )
							)
					Discrete_Trigger  ( 5
							ReleaseLoopRelease   ( 1 
							            File ( "MeniceFinal.wav" -1 )
							            SelectionMethod ( SequentialSelection )
							             )
							)
					Dist_Travelled_Trigger ( Dist_Min_Max ( 3500 3500.1 )  Volume_Min_Max ( 0.7 0.8 )  PlayOneShot ( 1	  File ( "jm_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 6 )
             		Volume (1.40)
				Triggers ( 1
					Variable_Trigger ( Variable3_Dec_Past 0.01  PlayOneShot   ( 1 File ( "8171Parkuje.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.0		22000
						0.000		22000
						100.0		22000
					)
				Granularity ( 10 )
				)
			)
			Stream (
				Priority ( 6 )
             		Volume (0.30)
				Triggers ( 1
					Variable_Trigger ( Speed_Inc_Past 0.01  PlayOneShot   ( 1 File ( "8171brPlus.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.00		0.0
						 0.001	1.0
					)
					Granularity ( 0.01 )
				)				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.0		22000
						0.000		22000
						100.0		22000
					)
				Granularity ( 10 )
				)
			)
			Stream (
				Priority ( 6 )
 	            		Volume (0.8)
				Triggers ( 1
					Variable_Trigger ( Speed_Inc_Past 3.02  PlayOneShot   ( 1 File ( "8171Rele.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake to be played at the same time  	**** )
				Priority ( 6 )
				Volume (0.8)
				Triggers ( 2
					Skip ( **** HlaseniStanic	**** )
					Discrete_Trigger (  6
						PlayOneShot ( 16
							File ( "01_23.wav" -1 )
							File ( "01_25.wav" -1 )
							File ( "01_27.wav" -1 )
							File ( "01_29.wav" -1 )
							File ( "01_31.wav" -1 )
							File ( "01_33.wav" -1 )
							File ( "01_35.wav" -1 )
							File ( "01_37.wav" -1 )
							File ( "02_09.wav" -1 )
							File ( "02_11.wav" -1 )
							File ( "02_13.wav" -1 )
							File ( "02-15.wav" -1 )
							File ( "02-17.wav" -1 )
							File ( "02-19.wav" -1 )
							File ( "02-21.wav" -1 )
							File ( "02-23.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  7
						PlayOneShot ( 16
							File ( "01_24.wav" -1 )
							File ( "01_26.wav" -1 )
							File ( "01_28.wav" -1 )
							File ( "01_30.wav" -1 )
							File ( "01_32.wav" -1 )
							File ( "01_34.wav" -1 )
							File ( "01_36.wav" -1 )
							File ( "01_38.wav" -1 )
							File ( "02_10.wav" -1 )
							File ( "02_12.wav" -1 )
							File ( "02_14.wav" -1 )
							File ( "02-16.wav" -1 )
							File ( "02-18.wav" -1 )
							File ( "02-20.wav" -1 )
							File ( "02-22.wav" -1 )
							File ( "02-24.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Skip ( **** Dvere	**** )
					Discrete_Trigger (  46
						PlayOneShot ( 2	
							File ( "doorop1.wav" -1 )	
							File ( "doorop2.wav" -1 )	
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  45
						PlayOneShot ( 2	
							File ( "doorcl1.wav" -1 )	
							File ( "doorcl2.wav" -1 )	
							SelectionMethod ( SequentialSelection )
						) 
					)
				)
			)
			Stream (
				Priority ( 6 )
				Volume (0.5)
				Triggers ( 4
					Discrete_Trigger (  16
						PlayOneShot ( 1	
							File ( "8171Kontroler.wav" -1 )	
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  20
						PlayOneShot ( 2
							File ( "8171Kontroler2.wav" -1 )
							File ( "8171Kontroler1.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  15
						PlayOneShot ( 1
							File ( "8171Reverz.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  17	
						PlayOneShot ( 1	
							File ( "8171_br_vozd.wav" -1 )	
							SelectionMethod ( SequentialSelection )
						) 
					)
				)
			)
		)
	)
	ScalabiltyGroup( 0
		Activation (	ExternalCam ()			PassengerCam	()		CabCam			()			Distance    	(100)		)
		Stereo ( 1 )
		Volume(0.5)
		Streams ( 16
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Skip( **** The engine/current related sounds **** )
					Variable_Trigger ( Speed_Dec_Past 0.1	ReleaseLoopRelease ()	)
					Variable_Trigger ( Speed_Inc_Past 0.1	StartLoop ( 1	File ( "8171run_.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		210000
						-1.0			1200
						0.000		0
						1.0			1200
						100.0		210000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 7
						 -100.00		0.7
						 -20.00	0.7
						 -6.00	0.3
						 0.00		0.0
						 6.00		0.3
						20.00		0.7
						100.00	0.7
					)
					Granularity ( 0.05 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable2_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171Rozb2.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-60.0		240000
						-1.0			1200
						0.000		0
						1.0			1200
						60.0		240000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 10.00		0.0
						 12.00		0.7
						 19.00	1.3
						 20.00		0.0
						 100.00	0.0
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable2_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171RozbHi.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		220000
						-1.0			1200
						0.000		0
						1.0			1200
						100.0		220000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 6
						 0.00		0.0
						 10.00	0.0
						 16.00		0.7
						 19.50	0.7
						 20.00	1.0
						 100.00	1.5
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable2_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171RozbLo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-10.0		70000
						-4.5			35000
						0.000		3000
						4.5			35000
						10.0		70000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 8
						 0.00		0.0
						 1.90		0.1
						 2.35		0.2
						 2.50		0.4
						 2.60		0.2
						 8.00		0.08
						 9.00		0.03
						 10.00		0.0
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 4
					Variable_Trigger ( Variable2_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171dBrakeMiLo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable2_Dec_Past 0.01  ReleaseLoopRelease  () )					
					Variable_Trigger ( Variable3_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171dBrakeMiLo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		420000
						-1.0			6000
						0.000		500
						1.0			6000
						100.0		420000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 4
						3.00		0.0
						3.50		0.8
						 11.00		1.0
						 13.00		0.0
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable3_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171RozbLo.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-10.0		70000
						-4.5			35000
						0.000		3000
						4.5			35000
						10.0		70000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 8
						 0.00		0.0
						 1.90		0.1
						 2.35		0.2
						 2.50		0.4
						 2.60		0.2
						 8.00		0.08
						 9.00		0.03
						 10.00		0.0
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable3_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171dBrakeMi.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		210000
						-1.0			1200
						0.000		0
						1.0			1200
						100.0		210000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 5
						 10.00		0.0
						 12.00		0.7
						 19.00	1.3
						 20.00		0.0
						 100.00	0.0
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
             		Volume (1.00)
				Triggers ( 2
					Variable_Trigger ( Variable3_Inc_Past 0.01  StartLoopRelease   ( 1 File ( "8171dBrakeHi.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
					Variable_Trigger ( Variable3_Dec_Past 0.01  ReleaseLoopRelease  () )					
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 5
						-100.0		210000
						-1.0			1200
						0.000		0
						1.0			1200
						100.0		210000
					)
					Granularity ( 10 )
				)
				VolumeCurve(
					SpeedControlled
					CurvePoints ( 6
						 0.00		0.0
						 18.00	0.0
						 20.00		0.7
						 21.50	0.7
						 22.00	1.0
						 100.00	1.5
					)
					Granularity ( 0.01 )
				)				
			)
			Stream (
				Priority ( 6 )
				Volume ( 2.0 ) 
				Triggers ( 4
					Discrete_Trigger ( 8	PlayOneShot ( 1	File ( "horn-start.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 8	StartLoop ( 1	File ( "horn.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	PlayOneShot ( 1	File ( "horn-stop.wav" -1 )	SelectionMethod ( SequentialSelection )	)	)
					Discrete_Trigger ( 9	ReleaseLoopRelease ()	)
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.0		25100
						0.000		25100
						100.0		25100
					)
					Granularity ( 10 )
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 3
					Discrete_Trigger  ( 4
							StartLoopRelease   ( 1 
							            File ( "MeniceFinal.wav" -1 )
							            SelectionMethod ( SequentialSelection )
							             )
							)
					Discrete_Trigger  ( 5
							ReleaseLoopRelease   ( 1 
							            File ( "MeniceFinal.wav" -1 )
							            SelectionMethod ( SequentialSelection )
							             )
							)
					Dist_Travelled_Trigger ( Dist_Min_Max ( 3500 3500.1 )  Volume_Min_Max ( 0.7 0.8 )  PlayOneShot ( 1	  File ( "jm_kompresor.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Priority ( 6 )
             		Volume (1.40)
				Triggers ( 1
					Variable_Trigger ( Variable3_Dec_Past 0.01  PlayOneShot   ( 1 File ( "8171Parkuje.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.0		22000
						0.000		22000
						100.0		22000
					)
				Granularity ( 10 )
				)
			)
			Stream (
				Priority ( 6 )
             		Volume (0.30)
				Triggers ( 1
					Variable_Trigger ( Speed_Inc_Past 0.01  PlayOneShot   ( 1 File ( "8171brPlus.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
				VolumeCurve(
					Variable2Controlled
					CurvePoints ( 2
						 0.00		0.0
						 0.001	1.0
					)
					Granularity ( 0.01 )
				)				
				FrequencyCurve(
					SpeedControlled
					CurvePoints ( 3
						-100.0		22000
						0.000		22000
						100.0		22000
					)
				Granularity ( 10 )
				)
			)
			Stream (
				Priority ( 6 )
 	            		Volume (0.8)
				Triggers ( 1
					Variable_Trigger ( Speed_Inc_Past 3.02  PlayOneShot   ( 1 File ( "8171Rele.wav" -1 )   SelectionMethod ( SequentialSelection ) ) )
				)
			)
			Stream (
				Skip ( **** This stream allows the Train Brake to be played at the same time  	**** )
				Priority ( 6 )
				Volume (0.8)
				Triggers ( 2
					Skip ( **** HlaseniStanic	**** )
					Discrete_Trigger (  6
						PlayOneShot ( 16
							File ( "01_23.wav" -1 )
							File ( "01_25.wav" -1 )
							File ( "01_27.wav" -1 )
							File ( "01_29.wav" -1 )
							File ( "01_31.wav" -1 )
							File ( "01_33.wav" -1 )
							File ( "01_35.wav" -1 )
							File ( "01_37.wav" -1 )
							File ( "02_09.wav" -1 )
							File ( "02_11.wav" -1 )
							File ( "02_13.wav" -1 )
							File ( "02-15.wav" -1 )
							File ( "02-17.wav" -1 )
							File ( "02-19.wav" -1 )
							File ( "02-21.wav" -1 )
							File ( "02-23.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  7
						PlayOneShot ( 16
							File ( "01_24.wav" -1 )
							File ( "01_26.wav" -1 )
							File ( "01_28.wav" -1 )
							File ( "01_30.wav" -1 )
							File ( "01_32.wav" -1 )
							File ( "01_34.wav" -1 )
							File ( "01_36.wav" -1 )
							File ( "01_38.wav" -1 )
							File ( "02_10.wav" -1 )
							File ( "02_12.wav" -1 )
							File ( "02_14.wav" -1 )
							File ( "02-16.wav" -1 )
							File ( "02-18.wav" -1 )
							File ( "02-20.wav" -1 )
							File ( "02-22.wav" -1 )
							File ( "02-24.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
				)
			)
			Stream (
				Priority ( 6 )
				Triggers ( 2
					Skip ( **** Dvere	**** )
					Discrete_Trigger (  46
						PlayOneShot ( 2	
							File ( "doorop1.wav" -1 )	
							File ( "doorop2.wav" -1 )	
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  45
						PlayOneShot ( 2	
							File ( "doorcl1.wav" -1 )	
							File ( "doorcl2.wav" -1 )	
							SelectionMethod ( SequentialSelection )
						) 
					)
				)
			)
			Stream (
				Priority ( 6 )
				Volume (0.5)
				Triggers ( 4
					Discrete_Trigger (  16
						PlayOneShot ( 1	
							File ( "8171Kontroler.wav" -1 )	
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  20
						PlayOneShot ( 2
							File ( "8171Kontroler2.wav" -1 )
							File ( "8171Kontroler1.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  15
						PlayOneShot ( 1
							File ( "8171Reverz.wav" -1 )
							SelectionMethod ( SequentialSelection )
						) 
					)
					Discrete_Trigger (  17	
						PlayOneShot ( 1	
							File ( "8171_brake.wav" -1 )	
							SelectionMethod ( SequentialSelection )
						) 
					)
				)
			)
		)
	)
)